package main

import (
	"fmt"
	"reflect"
)

func changeStructValue(book *Book) {
	book.auth = "test2"
	book.price = 20
}

type Book struct {
	title string
	auth  string
	price int
}

func changeV(p *int) {
	*p = 100
}

func main() {

	//b := Book{title: "test", auth: "test", price: 10}
	//fmt.Println(b)
	//changeStructValue(&b)
	//fmt.Println(b)

	num := 1.234

	fmt.Println(reflect.ValueOf(num))
	fmt.Println(reflect.TypeOf(num))
}
